// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, postBodyRequest, getNoAuthRequest, postNoAuthRequest } from '@/libs/axios';

// 分页获取数据
export const getAwardManagementList = (params) => {
    return getRequest('/awardManagement/getByPage', params)
}
// 添加
export const addAwardManagement = (params) => {
    return postRequest('/awardManagement/insertOrUpdate', params)
}
// 编辑
export const editAwardManagement = (params) => {
    return postRequest('/awardManagement/insertOrUpdate', params)
}
// 删除
export const deleteAwardManagement = (params) => {
    return postRequest('/awardManagement/delByIds', params)
}
//导入数据(postBodyRequest)
export const importDataApi = (params) => {
    return postBodyRequest('/awardManagement/importDataApi', params)
}
